package com.huangcy.gulimall.product.feign;

import com.huangcy.common.to.SkuHasStockVo;
import com.huangcy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @program: gulimall
 * @description:
 * @author: huangcy
 * @create: 2022-08-11 10:50
 **/
@FeignClient("gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasStock")
    public R getSKuHasStock(@RequestBody List<Long> skuIds);

}
